package com.dominator.repository;

import com.dominFramework.core.dao.SqlDao;
import com.dominFramework.core.typewrap.Dto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class DaoGame {


    @Autowired
    SqlDao sqlDao;

    /**
     * 获取可用游戏列表
     *
     * @return
     */
    public List<Dto> getValidGameList() {
        return sqlDao.list("Game.getValidGameList", null);
    }


}
